
using System;
using AtDevice;

namespace Interoperability
{
    
    public enum PhonebookImportStyle {
        /// <summary>
        /// If the imported file contains information about memory locations phonebook entries,
        /// all previous entries in the phonebook are replaced with those.
        /// This options is useful for restoring a phonebook dump to an empty phonebook.
        /// </summary>
        Dump,
        
    };
    
    public interface IPhonebookImport
    {
        /// <summary>
        /// Import phonebook content from the specified file.
        /// </summary>
        /// <param name="phonebook">The phonebook in which to import the content</param>
        /// <param name="filename">The file to import</param>
        /// <param name="style">Defines how the file is imported.</param>
        void ImportPhonebook(IPhoneBook phonebook, string filename, PhonebookImportStyle style);
    }
}
